export interface footerLinksType {
    title: string;
    links: {
        title: string;
        path: string;
        external?: boolean;
        icon?: string;
    }[];
}
export const footerLinks: footerLinksType[] = [
    {
      title: "技术分类",
      links: [
        { title: "前端开发", path: "/posts/frontend" },
        { title: "移动开发", path: "/posts/mobile" },
        { title: "服务端开发", path: "/posts/backend" },
        { title: "数据库", path: "/posts/database" },
        { title: "DevOps", path: "/posts/devops" },
        { title: "人工智能", path: "/posts/ai" },
      ],
    },
    {
      title: "相关链接",
      links: [
        { title: "开源项目", path: "/projects" },
        { title: "技术周刊", path: "/weekly" },
        { title: "学习路线", path: "/roadmap" },
        { title: "资源导航", path: "/resources" },
        { title: "友情链接", path: "/friends" },
      ],
    },
    {
      title: "政策协议",
      links: [
        { title: "隐私政策", path: "/privacy" },
        { title: "服务条款", path: "/terms" },
        { title: "版权声明", path: "/copyright" },
        { title: "免责声明", path: "/disclaimer" },
      ],
    },
    {
      title: "联系我",
      links: [
        { title: "GitHub", path: "https://github.com/flanchan", external: true },
        {
          title: "Twitter",
          path: "https://twitter.com/flanchan",
          external: true,
        },
        { title: "Email", path: "mailto:hi@flanchan.io" },
        { title: "RSS订阅", path: "/rss", icon: "RssIcon" },
      ],
    },
];
export default defineEventHandler(async (event) => {
    return footerLinks;
});
  